---
title: Color Dropdown Menu
description: Choose and apply colors to your content from a dropdown menu.
component: true
docs:
  - route: /docs/font
    title: Font
  - route: /docs/components/dropdown-menu
    title: Dropdown Menu
  - route: /docs/components/toolbar
    title: Toolbar
  - route: /docs/components/separator
    title: Separator
  - route: /docs/components/button
    title: Button
  - route: /docs/components/tooltip
    title: Tooltip
---

## Installation

<Tabs defaultValue="cli">

<TabsList>
<TabsTrigger value="cli">CLI</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>
<TabsContent value="cli">

```bash
npx @udecode/plate-ui@latest add color-dropdown-menu
```

</TabsContent>

<TabsContent value="manual">

<Steps>

<Step>

Install the following dependencies:

- [Dropdown Menu](/docs/components/dropdown-menu)
- [Toolbar](/docs/components/toolbar)
- [Separator](/docs/components/separator)
- [Button](/docs/components/button)
- [Tooltip](/docs/components/tooltip)

</Step>

<Step>

Copy and paste the following code into your project.

</Step>

<ComponentSource name="color-dropdown-menu" />
<ComponentSource name="color-dropdown-menu-items" />
<ComponentSource name="color-constants" />
<ComponentSource name="color-input" />
<ComponentSource name="color-picker" />
<ComponentSource name="colors-custom" />

<Step>

Update the import paths to match your project setup.

</Step>

</Steps>

  </TabsContent>

</Tabs>

## Examples

<ComponentPreview name="playground-demo" id="basicnodes" />

<ComponentSource src="../../templates/plate-playground-template/src/components/plate-ui/fixed-toolbar-buttons.tsx" />
